{include file='/public/index-header'}
<body>
    {include file='/public/index-nav'}
    <div class="layui-container ws-container">
        <div class="ws-index-main ws-text">
            <h1>{$main_title|default=''}</h1>
        </div>
        <div class="layui-row">
            <div class="layui-col-md12">
                <div class="layui-col-md8 layui-col-md-offset2">
                    <form class="layui-form">
                        <div class="layui-form-item">
                            <label class="layui-form-label label-required-next">{:lang('公司名称')}</label>
                            <div class="layui-input-block">
                              <input type="text" name="account_name" lay-verify="required" required placeholder="{:lang('请输入公司名称')}" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label label-required-next">{:lang('账号')}</label>
                            <div class="layui-input-block">
                              <input type="text" name="login_account" lay-verify="required" required placeholder="{:lang('请输入账号')}" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label label-required-next">{:lang('密码')}</label>
                            <div class="layui-input-block">
                              <input type="text" name="password" lay-verify="required" required placeholder="{:lang('请输入密码')}" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block" style="text-align: center;">
                              <button type="submit" class="layui-btn layui-btn-danger layui-btn-radius" lay-submit lay-filter="apply">立即提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    {include file='/public/index-foot'}
</body>
<script>
    $(function() {
        layui.form.on('submit(apply)', function (data) {
            let form_data = data.field;
            $.form.load("{:sysuri('index')}", form_data, "post", function (ret) {
                
            }, true);
            return false;
        });
    });
</script>